package com.wanxi.coupon.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("商家优惠券信息")
public class CouponEnterpriseVo {

    @ApiModelProperty(value = "发放总量")
    private Integer quota; //发放总量
    @ApiModelProperty(value = "面额")
    private BigDecimal couponMoney; //面额
    @ApiModelProperty(value = "满减额度100，满100减xxx")
    private BigDecimal fullReduction; //满减
    @ApiModelProperty(value = "折扣：95 ,打九五折")
    private BigDecimal discount; //折扣
    @ApiModelProperty(value = "优惠券名称")
    private String couponName;
    @ApiModelProperty(value = "优惠券类型")
    private Integer type; //类型
    @ApiModelProperty(value = "状态")
    private Integer status; //状态
    @ApiModelProperty(value = "描述")
    private String remark; //描述
    @ApiModelProperty(value = "生效时间",required = true)
    private String startTime; //生效时间
    @ApiModelProperty(value = "失效时间",required = true)
    private String endTime;  //失效时间
    @ApiModelProperty(value = "适用范围",required = true)
    private List range; //适用范围

}
